// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
// import responsivelyLazy from 'responsively-lazy/responsivelyLazy.min.js'
import responsivelyLazy from 'responsively-lazy/responsivelyLazy.min.js'
import Vue from 'vue'
import App from './App'

const VueTouch = require('vue-touch')
Vue.use(VueTouch, {name: 'v-touch'})

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  mounted () {
    window.responsivelyLazy = responsivelyLazy
    const FastClick = require('fastclick')
    FastClick.attach(document.body)
  },
  render: h => h(App)
})
